package wickethub.data;

import com.google.inject.Singleton;

@Singleton
public class UpdateBatch {

	public void update() {
		// get all components *updated more than 2 weeks ago* or *never updated*
		// get their jarUrls
		// check if jarUrl.substr().".pom" exists => if it does, grab groupId, artifactId, version and store it
		// open jar, get wicket metadata file (if it's more recent than "last updated" date)
		// extract metadata and store
		// also store the *date* of the wicket metadata file as "last updated"
	}
	
}
